const state = {
  userId: "suzhidongid"
};

const mutations = {
  SET_USERID: (state, userId) => {
    state.userId = userId;
  }
};

const actions = {
  // user login
  async loginAction({ dispatch, commit, state }, userInfo) {
    try {
    } catch (error) {
      console.log(error);
    }
  }
};

export default {
  namespaced: true,
  state,
  mutations,
  actions
};
